如果我在node.js的6.6,寫(RESP從打字稿transpiled。)這樣一類:調試運行ES6代理物業 - >內部錯誤:非法訪問
class Table {
constructor(args) {
this._rows = new Proxy({ test: 42 }, {});
}
}
並創建實例這樣的:
var table = new Table();
當我在Visual Studio代碼1.2.1調試時,我想看了var表我總是有
Internal error: illegal access
寫在那裏,這意味着我不能看錶或其任何屬性。
同樣的事情在Chrome中工作得很好。
那麼,爲什麼是這樣,我能做些什麼呢?
謝謝!
在VSCode問題跟蹤器上打開一張票 - 這聽起來像一個錯誤。 –
完成:https://github.com/Microsoft/vscode/issues/12749 – jiron