Writing cross-platform and web cabable extensions, one is unable to call DebugSession::setDebuggerPathFormat and rely on the conversion methods for client and debugger path conversion.
Expected behavior
DebugSession::convertClientPathToDebugger and DebugSession::convertDebuggerPathToClient should work in desktop and web extensions.
Writing cross-platform and web cabable extensions, one is unable to call
DebugSession::setDebuggerPathFormat
and rely on the conversion methods for client and debugger path conversion.Expected behavior
DebugSession::convertClientPathToDebugger
andDebugSession::convertDebuggerPathToClient
should work in desktop and web extensions.Current behavior
Calling
DebugSession::convertClientPathToDebugger
orDebugSession::convertDebuggerPathToClient
throws an exceptionprocess is not defined
whenDebugSession::path2uri
andDebugSession::uri2path
are called due to a dependency onprocess.platform
fromnode
.